﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using AutoMapper;

namespace FazaDemo.PL.Mapping
{
    public class LowToTopMapper<TFrom, TTo> : ILowToTopMapper<TFrom, TTo>
    {

        public TTo MapFrom(TFrom from)
        {
            return Mapper.Map<TTo>(from);
        }

    }
}
